
typedef unsigned char u8;
typedef unsigned short u16;
typedef unsigned int u32;

#define AXI_PWM_S00_AXI_SLV_REG0_OFFSET 0
#define AXI_PWM_S00_AXI_SLV_REG1_OFFSET 4
#define AXI_PWM_S00_AXI_SLV_REG2_OFFSET 8
#define AXI_PWM_S00_AXI_SLV_REG3_OFFSET 12
#define AXI_PWM_S00_AXI_SLV_REG4_OFFSET 16
#define AXI_PWM_S00_AXI_SLV_REG5_OFFSET 20
#define AXI_PWM_S00_AXI_SLV_REG6_OFFSET 24
#define AXI_PWM_S00_AXI_SLV_REG7_OFFSET 28
#define AXI_PWM_S00_AXI_SLV_REG8_OFFSET 32
#define AXI_PWM_S00_AXI_SLV_REG9_OFFSET 36
#define AXI_PWM_S00_AXI_SLV_REG10_OFFSET 40
#define AXI_PWM_S00_AXI_SLV_REG11_OFFSET 44
#define AXI_PWM_S00_AXI_SLV_REG12_OFFSET 48
#define AXI_PWM_S00_AXI_SLV_REG13_OFFSET 52
#define AXI_PWM_S00_AXI_SLV_REG14_OFFSET 56
#define AXI_PWM_S00_AXI_SLV_REG15_OFFSET 60

/************************** Function Prototypes *******************************/
void fan_ctrl_init(u16 fspeed);

void fan_moni_ctrl(u16 Rspeed1, u16 Rspeed2, u16 Rspeed3,u16 Rspeed4,u16 Rspeed5);
